package com.zhouzhou.fastjava.query.converter;

import org.springframework.core.convert.converter.Converter;

public class IntegerToBooleanConvert implements Converter<Integer, Boolean> {

    @Override
    public Boolean convert(Integer source) {
        return source != 0;
    }

}
